﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Microsoft.Extensions.DependencyInjection
{
    public class ScanDependencyInjectionDefinition
    {
        public ScanDependencyInjectionDefinition(Type service)
        {
            Implementation = service;
            Services = new List<Type>();
        }

        /// <summary>
        /// 该服务实现的接口集合。
        /// </summary>
        public List<Type> Services { get; }

        /// <summary>
        /// 等待注入的服务。
        /// </summary>
        public Type Implementation { get; }
    }
}
